package com.bcxj.servicemap.service;

import com.bcxj.internalcommon.dto.PointRequest;
import com.bcxj.internalcommon.dto.ResponseResult;
import com.bcxj.servicemap.remote.PointClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ClassName: PointService
 * Package: com.bcxj.servicemap.service
 * Description:
 *
 * @Author BCXJ
 * @Create 2024/11/2 18:12
 * @Version 1.0
 * @Since 1.0
 */
@Service
public class PointService {


    @Autowired
    private PointClient pointClient;

    /**
     * 上传轨迹点
     * @return
     */
    public ResponseResult upload(PointRequest pointRequest) {
        return pointClient.upload(pointRequest);
    }

}
